﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Whisper.CommonTypes;
namespace Whisper.Utils
{
    public static  class KnownTypesProvider
    {

        public static Type[] GetTypes(ICustomAttributeProvider provider)
        {
            var a = Assembly.Load("Whisper.CommonTypes");
            var types = a.GetTypes().Where(t => t.IsClass == true).ToArray();
            return types;
        }
    }
}